#include "mainwindow.h"
#include "ui_mainwindow.h"


MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

void MainWindow::on_pushButton_clicked()
{
    this->close();
    B=new Board();
    B->show();

}

void MainWindow::on_pushButton_2_clicked()
{
    this->close();
    S=new SingleGame();
    S->show();
}

void MainWindow::on_pushButton_3_clicked()
{
    H=new Help();
    H->show();
}
